<template>
  <div class="wall-index">
    <topBar></topBar>
    <video src="@/assets/images/qm1.mp4" autoplay="autoplay" muted="nuted" loop="loop" class="bg-video"></video>
    <router-view></router-view>
    <footBar></footBar>
  </div>
</template>

<script>
import topBar from '@/components/TopBar.vue'
import footBar from '@/components/FootBar.vue'
export default {
    data(){
      return{
        aaa:''
      }
    },
    components:{
      topBar,footBar
    },
    created(){
      this.getUser()
    },
    methods:{
      getUser(){
        this.axios.post("http://182.61.20.123:3001/singin/match",{
          data:'aaa',
          pwd:'bbb'
        }).then((res)=>{
          console.log(res)
        })
      }
    }
}
</script>

<style lang="less" scoped>
  .wall-index{
    .bg-video{
      z-index: -1;
      height: 650px;
      position: fixed;
      top: 0;
      left: 0;
    }
  }
</style>